<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
</head>

<body>
    <script src="/js/vue.js"></script>
    <div id="app">
        <p>{{lastName}}{{firstName}}</p>
        <p>{{lastName}}{{firstName}}</p>
        <p>{{lastName}}{{firstName}}</p>
        <p>{{lastName}}{{firstName}}</p>
        <p>{{lastName}}{{firstName}}</p>
        <br>
        <p>{{getFullName()}}</p>
        <p>{{getFullName()}}</p>
        <p>{{getFullName()}}</p>
        <p>{{getFullName()}}</p>
        <p>{{getFullName()}}</p>
        <br>
        <p>{{FullName}}</p>
        <p>{{FullName}}</p>
        <p>{{FullName}}</p>
        <p>{{FullName}}</p>
        <p>{{FullName}}</p>
    </div>
    <script>
        let app = new Vue({
            el:"#app",
            date:{
                msg:'hello world',
                firstName:"Shane",
                lastName:"He"
            },
            methods:{
                getFullName(){
                    return this.firstName + "" +this.lastName
                }
            },
            computed:{
                getFullName(){
                    return this.firstName+""+this.lastName
                }
            }
        })
    </script>
</body>